package com.booza.constants;

public interface PaymentStatus
{
	/**
	 *  The transaction is pending. This is for game credit transactions. 
	 *  The user has to wait before the funds can be withdrawn.
	 */
	public final static int PENDING = 0;

	/**
	 * The transaction was completed successfully.
	 */
	public final static int COMPLETED = 1;

	/**
	 * User has cancelled the payment.
	 */
	public final static int CANCELLED = 2;
	
	/**
	 * Transaction failed.
	 */
	public final static int FAILED = 3;
	
	/**
	 * Transaction in-process.
	 * 
	 * For withdrawals - once the transaction is picked up by <code>WirecardMassPaymentService</code> only the transactions in PENDING
	 * status will be processed by the <code>WirerardMassPaymentService</code>.
	 * 
	 * For all transactions - all transactions are in-process when the when the transactions process begins and are either
	 * changed to COMPLETED or FAILED when the transactions ends. If a transaction is FAILED or remains in INPROCESS status
	 * for a long time, it might have to be processed manually.
	 */
	public final static int INPROCESS = 4;	
}
